package com.lzy.cloud.order.service;

import com.lzy.cloud.order.dtos.OrderInsuranceHolderDto;

import java.util.List;

/**
 * @description:订单保险
 * @author: liyun
 * @create: 2018-07-05 11:08
 */
public interface OrderInsuranceHolderService {

    /**
     * 根据orderId查询订单保险
     * @param orderId
     * @return
     */
    List<OrderInsuranceHolderDto> queryListByOrderId(String orderId);

    /**
     * 创建订单保险
     * @param orderInsuranceHolderDto
     * @return
     */
    Long create(OrderInsuranceHolderDto orderInsuranceHolderDto);

}
